import { ProtocolComponent } from "../../../../components/Apps/Exam/ExamComponent";
import { ClientMessage } from "@runtime/generate/message/ClientMessage";
import MessageHandler from "@runtime/module/Handler/MessageHandler";

export default class BinocularCameraProtocolDataUpdateMessageHandler extends MessageHandler<ClientMessage.BinocularCameraProtocolDataUpdateMessage> {
    protected async RunAsync(message: ClientMessage.BinocularCameraProtocolDataUpdateMessage): Promise<void> {
        ProtocolComponent.Default.Receive(message.Datas);
        console.log('相机数据',message.Datas);
        
    }
}